
import 'package:flutter/material.dart';

class FormPage extends StatelessWidget {
  String title = '';
  FormPage({this.title="表单22"});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      floatingActionButton: FloatingActionButton(
        child: Text('返回'),
        onPressed: (){
          Navigator.of(context).pop();
        },
      ),
       appBar: AppBar(
         title: Text(this.title),
       ),
       body: ListView(
         children: <Widget>[
           ListTile(
             title: Text('表单页面'),
           )
         ],
       )
    );
  }
}